
#ifndef __NRF24_MAIN_H__
#define __NRF24_MAIN_H__

#ifdef __cplusplus
extern "C"{
#endif
	
#include "nrf24_device.h"

extern void nrf_power_up(void);
extern void nrf_power_down(void);
extern void nrf_set_primary_mode(char mode);
extern void nrf_set_addr_wid(char wid);
extern void nrf_set_pipe_addr(char pipe, char* addr, char len);
extern void nrf_set_tx_addr(char* addr, char len);
extern void nrf_pipe_enable(char pipe);
extern char nrf_fifo_status(void);
extern void nrf_clear_irq_src(char src_bits);
extern void nrf_set_rf_channel(uint16_t freq);
extern void nrf_set_rf_data_rate(char rate);
extern void nrf_set_auto_retrans(char delay, char retry);

#ifdef __cplusplus
}
#endif

#endif 